import request from '@/utils/request'

export function getCheckVideoList() {
  return request({
    url: '/system/getCheckVideoList',
    method: 'get'
  })
}
// 根据video_url获取用户的检测视频
export function getVideoUrl(video_url) {
  return request({
    url: '/system/getVideoUrl',
    method: 'get',
    params: { video_url }
  })
}
export function updateVideoState(params) {
  return request({
    url: '/system/updateVideoState',
    method: 'get',
    params: { params }
  })
}
// 根据uuid获取检测任务的信息
export function getCheckTaskByUuid(uuid) {
  return request({
    url: '/system/getCheckTaskByUuid',
    method: 'get',
    params: { uuid }
  })
}